package cn.simon.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class UserDetail {

  @TableId(type = IdType.AUTO)
  private int userDetailId;
  @TableField(fill = FieldFill.INSERT)
  private int userId;
  private String userGender;
  private int userAge;
  private Date userCreateTime;
}
